package team.pra.manager.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import team.pra.manager.mapper.RoleMapper;
import team.pra.manager.pojo.Role;
import team.pra.manager.service.RoleService;
@Service
public class RoleServiceImpl implements RoleService {
    @Autowired(required = false)
    private RoleMapper roleMapper;
    @Override
    public Role queryForOne(Integer id) {
        return roleMapper.queryForOne(id);
    }
}
